package com.sdp.th.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.sdp.core.bizc.vo.Result;
import com.sdp.th.db.th_alarm_count.service.IThAlarmCountService;

/**
 * <p>
 * 报警数量 前端控制器
 * </p>
 *
 * @author zsp
 * @since 2025-04-17
 */
@RestController
@RequestMapping("/ThAlarmCountController")
public class ThAlarmCountController {

	@Autowired
	private IThAlarmCountService iThAlarmCountService;

	@GetMapping(value="queryAlarmCount")
	public Result<?> queryAlarmCount() {
		return Result.ok(iThAlarmCountService.queryThAlarmCount());
	}
}

